package sqlite.domain;


import sqlite.annotation.Column;
import sqlite.annotation.Table;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * User: 甘竞存
 * Date: 14-11-10
 * Time: 下午12:20
 * 门店库存，对应erp中间库  SPKCB_HZ 表
 */
@Table("SPKCB_HZ")
public class StoreStorage {
    @Column("CKDM")
    private String storeId ;
    @Column("SPDM")
    private String productId ;
    @Column("GG1DM")
    private String colorId ;
    @Column("GG2DM")
    private String sizeId ;
    @Column("SKU")
    private String skuOuterId ;
    @Column("SL")
    private Integer quantity ;
    @Column("E_CREATE_TIME")
    private Date createDate;
    @Column("F_UPDATE_TIME")
    private Date updateDate ;
    @Column("BS_FLAG")
    private String flag ;

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getColorId() {
        return colorId;
    }

    public void setColorId(String colorId) {
        this.colorId = colorId;
    }

    public String getSizeId() {
        return sizeId;
    }

    public void setSizeId(String sizeId) {
        this.sizeId = sizeId;
    }

    public String getSkuOuterId() {
        return skuOuterId;
    }

    public void setSkuOuterId(String skuOuterId) {
        this.skuOuterId = skuOuterId;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    @Override
    public String toString() {
        return "StoreStorage{" +
                "storeId='" + storeId + '\'' +
                ", productId='" + productId + '\'' +
                ", colorId='" + colorId + '\'' +
                ", sizeId='" + sizeId + '\'' +
                ", skuOuterId='" + skuOuterId + '\'' +
                ", quantity=" + quantity +
                ", createDate=" + createDate +
                ", updateDate=" + updateDate +
                ", flag='" + flag + '\'' +
                '}';
    }
}
